package com.gy.feign.client;

import com.gy.feign.config.FeignName;
import com.gy.common.R;
import com.gy.common.model.vo.SysUserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = FeignName.MEMBER)
public interface MemberFeign {
    @PostMapping(value = "/member/user/getVoById")
    R<SysUserVo> getById(@RequestParam("id")Integer id);
}
